<template>
  <div class="warper-box">
    <div class="table-cell">
      <img class="img-box" src="https://img.yzcdn.cn/vant/cat.jpeg" alt="">
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="less">
.warper-box{
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 99;
  top: 0;
  background: #fff;
  display: table;
  .table-cell{
    display: table-cell;
    vertical-align: middle;
    img{
      max-width: 100%;
    }
  }
}
</style>
